package product;

import java.io.Serializable;

public class ProductData implements Serializable {
	private static final long serialVersionUID = 1L;
	String name; //제품이름
	int volume;	 //생산량
	String nal;	 //생산날짜
	String code; //제품코드
	int price;	 //단가
	
	public ProductData(String n, int v ,String nal, String c, int p){
		this.name=n;
		this.volume=v;
		this.nal=nal;
		this.code=c;
		this.price=p;
	}
	
	public int getVolume() {
		return volume;
	}

	public void setVolume(int volume) {
		this.volume = volume;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public String getNal() {
		return nal;
	}

	public void setNal(String nal) {
		this.nal = nal;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
}
